<page-header />
<st #st [data]="data" [columns]="columns" [page]="page" (change)="rowChange($event)" multiSort>
  <ng-template st-row="type" let-item>
    <i nz-icon [nzType]="getFileType(item.type)" nzTheme="twotone"></i>
  </ng-template>
  <ng-template st-row="size" let-item>
    <span>{{ getFileSize(item.size) }}</span>
  </ng-template>
  <ng-template st-row="preview" let-item>
    @if (item.type == 'image') {
      <app-preview-image [width]="100" [height]="50" [record]="item" />
    }
  </ng-template>
</st>
